export default function (target, ...args) {
  Object.values(args).forEach((source) => {
    Object.keys(source).forEach((prop) => {
      if (Object.prototype.hasOwnProperty.call(target, prop)) {
        target[prop] = source[prop];
      }
    });
  });
  return target;
}
